﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MS.InformationManagement.DAL.DocumentCenter;
using Microsoft.SharePoint;

namespace MS.InformationManagement.DAL.DTOs
{
    public abstract class BaseContactDTO<C>
        where C : Contactos, new()
    {

        #region Fields

        protected IEnumerable<C> _contacts;
        protected SPListItemCollection _foundedItems;

        #endregion

        #region Constructors

        public BaseContactDTO(SPListItemCollection selectedItem)
        {
            _foundedItems = selectedItem;
        }

        #endregion

        #region AbstractMethods Methods

        public abstract IEnumerable<C> GetEntities();

        #endregion


    }
}
